'Declaration
Public Function GetFromFileAsync( _ ByVal file As NFile, _ ByVal forReading As System.Boolean _ ) As NPromise(Of TDocumentFormat)
'Usage
Dim instance As NDocumentFormatRegistry(Of TDocumentFormat) Dim file As NFile Dim forReading As System.Boolean Dim value As NPromise(Of TDocumentFormat) value = instance.GetFromFileAsync(file, forReading)
public NPromise<TDocumentFormat> GetFromFileAsync( NFile file, System.bool forReading )
Parameters
- file
- The file to analyze.
- forReading
- Specifies whether the file is going to be used for reading or for writing.